package com.ruoyi.caiwu.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 账套对象 accounts
 *
 * @author ruoyi
 * @date 2025-02-25
 */
public class Accounts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账套id */
    private Long accountId;

    /** 账套名称 */
    @Excel(name = "账套名称")
    private String accountName;

    /** 所属行业 */
    @Excel(name = "所属行业")
    private String industry;

    /** 账套启用日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "账套启用日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 采用的会计制度:0小企业会计准则、1中企业会计准则、2大企业会计准则 */
    @Excel(name = "采用的会计制度:0小企业会计准则、1中企业会计准则、2大企业会计准则")
    private Long accountingSystem;

    /** 币别_id */
    @Excel(name = "币别_id")
    private Long currencyId;

    /** userID */
    @Excel(name = "userID")
    private Long userId;
    @Excel(name = "币别名称")
    private String currencyName;
    @Excel(name = "是否可用")
    private Integer isActive;
    @Excel(name = "权限")
    private String remark;


    public Integer getIsActive() {
        return isActive;
    }
    public void setIsActive(Integer isActive) {
        this.isActive = isActive;
    }

    public void setAccountId(Long accountId)
    {
        this.accountId = accountId;
    }

    public Long getAccountId()
    {
        return accountId;
    }
    public void setAccountName(String accountName)
    {
        this.accountName = accountName;
    }

    public String getAccountName()
    {
        return accountName;
    }
    public void setIndustry(String industry)
    {
        this.industry = industry;
    }

    public String getIndustry()
    {
        return industry;
    }
    public void setStartDate(Date startDate)
    {
        this.startDate = startDate;
    }

    public Date getStartDate()
    {
        return startDate;
    }
    public void setAccountingSystem(Long accountingSystem)
    {
        this.accountingSystem = accountingSystem;
    }

    public Long getAccountingSystem()
    {
        return accountingSystem;
    }
    public void setCurrencyId(Long currencyId)
    {
        this.currencyId = currencyId;
    }

    public Long getCurrencyId()
    {
        return currencyId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public String getCurrencyName() {
        return currencyName;
    }
    public void setCurrencyName(String currencyName) {
        this.currencyName = currencyName;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("accountId", getAccountId())
            .append("accountName", getAccountName())
            .append("industry", getIndustry())
            .append("startDate", getStartDate())
            .append("accountingSystem", getAccountingSystem())
            .append("currencyId", getCurrencyId())
            .append("userId", getUserId())
            .append("currencyName", getCurrencyName())
                .append("isActive", getIsActive())
            .toString();
    }
}
